package com.fitness.front.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.fitness.front.modal.response.ServerResponseEntity;
import com.fitness.front.modal.user.dto.UserDto;
import com.fitness.front.modal.user.entity.User;
import com.fitness.front.modal.user.param.UserPageQueryParams;
import com.fitness.front.modal.user.vo.UserVO;

public interface IUserService extends IService<User> {

    void logout();

    Page<UserVO> getUserPage(UserPageQueryParams queryParams);

    boolean addUser(UserDto userDto);

    boolean updateUser(UserDto userDto);

    ServerResponseEntity<Boolean> removeByUid(Long uid);
}
